#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int m = 0;
	int n = 1;
	while ((scanf("%d", &m)) != EOF)
	{
		printf("%d\n", n << m);
	}
	return 0;
}